#!/usr/bin/env python3
# -*- coding:utf-8 -*-

from PIL import Image
import pytesseract
img = Image.open('test.png')
str = pytesseract.image_to_string(img)
print(str)